package com.sdtw.bookshop.shop.service.impl;

import com.sdtw.bookshop.shop.bean.BookKindInfo;
import com.sdtw.bookshop.shop.bean.BookTypeInfo;
import com.sdtw.bookshop.shop.mapper.BookTypeMapper;
import com.sdtw.bookshop.shop.service.BookTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookTypeServiceImpl implements BookTypeService {

    @Autowired
    private BookTypeMapper bookTypeMapper;
    @Override
    public List<BookTypeInfo> find() {
        return bookTypeMapper.find();
    }
}
